using System;

namespace octalforty.Componento.ComponentModel.Commanding
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public sealed class CommandAttribute : Attribute
    {
        private readonly string name;

        public string Name
        {
            get { return name; }
        }

        public CommandAttribute(string name)
        {
            this.name = name;
        }
    }
}